package com.spzx.order.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.spzx.common.core.web.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 订单操作日志记录
 * </p>
 *
 * @author atguigu
 * @since 2025-02-26
 */
@Getter
@Setter
@TableName("order_log")
public class OrderLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 操作人：用户；系统；后台管理员
     */
    private String operateUser;

     /**
     * 订单状态 0->待付款；1->待发货；2->已发货；3->待用户收货，已完成；-1->已取消
     */
    private Integer processStatus;

    /**
     * 备注
     */
    private String note;
}
